<div class="chat-container">
  <div class="chat-msg__bg">
    <div *ngFor="let msg of chat.msgs" class="chat-msg">
      <div class="chat-msg__me chat-msg__right">
        {{msg.message}}
      </div>
    </div>
  </div>
  <div class="weui-cells weui-cells_form chat-input">
    <div class="weui-cell">
      <div class="weui-cell__bd">
        <textarea class="weui-textarea" rows="1" placeholder="请输入" onpropertychange="this.style.posHeight=this.scrollHeight"
          [(ngModel)]="message"></textarea>
      </div>
      <div class="weui-cell__ft">
        <button class="weui-btn weui-btn_primary" (click)="sendMsg()">发送</button>
      </div>
    </div>
  </div>
</div>